package com.example.mybatispatient.pojo;

import java.time.LocalDateTime;

/**
 * @author 27013
 **/


public class Patient {
private long id;
private String name;
private LocalDateTime birthday;
private  long sex;
private String address;
private String phone;
private String idCard;
private long isMedicare;
private String idMedicare;
private LocalDateTime createdTime;
private LocalDateTime updatedTime;

    @Override
    public String toString() {
        return "id=" + id + ", name='" + name + '\'' +
                ", birthday='" + birthday + '\'' +
  ", sex=" + sex + ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
  ", idCard='" + idCard + '\'' + ", isMedicare='" + isMedicare + '\'' +
                ", idMedicare='" + idMedicare + '\'' + ", createTime=" + createdTime + ", updateTime=" + updatedTime;
    }


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getSex() {
        return sex;
    }

    public void setSex(long sex) {
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDateTime getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDateTime birthday) {
        this.birthday = birthday;
    }



    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public long getIsMedicare() {
        return isMedicare;
    }

    public void setIsMedicare(long isMedicare) {
        this.isMedicare = isMedicare;
    }

    public String getIdMedicare() {
        return idMedicare;
    }

    public void setIdMedicare(String idMedicare) {
        this.idMedicare = idMedicare;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public LocalDateTime getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(LocalDateTime updatedTime) {
        this.updatedTime = updatedTime;
    }
}
